<form class="form-horizontal" method="{$formMethod}" action="{:U($formAction)}">
    <div class="form-group">
        <div class="col-lg-offset-2 col-sm-3 col-lg-4">
            <button type="submit" class="btn btn-primary">提交</button>
        </div>
    </div>
</form>